module Angular2
  module Rails
    if defined? ::Rails::Engine
      require 'angular2-rails/engine'
    elsif defined? Sprockets
      require 'angular2-rails/sprockets'
    end
  end
end
